[INFO] cloning repository https://github.com/tlent/learn-opengl-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tlent/learn-opengl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlent%2Flearn-opengl-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlent%2Flearn-opengl-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a44054a501f642062946f1377ee3b18abf60f7a4
[INFO] checking tlent/learn-opengl-rs against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlent%2Flearn-opengl-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tlent/learn-opengl-rs on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tlent/learn-opengl-rs
[INFO] finished tweaking git repo https://github.com/tlent/learn-opengl-rs
[INFO] tweaked toml for git repo https://github.com/tlent/learn-opengl-rs written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/tlent/learn-opengl-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7623065fce0733262c8e2c55fd6675c91c9f1a814b3712b66c0115135fe287dd
[INFO] running `Command { std: "docker" "start" "-a" "7623065fce0733262c8e2c55fd6675c91c9f1a814b3712b66c0115135fe287dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7623065fce0733262c8e2c55fd6675c91c9f1a814b3712b66c0115135fe287dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7623065fce0733262c8e2c55fd6675c91c9f1a814b3712b66c0115135fe287dd", kill_on_drop: false }`
[INFO] [stdout] 7623065fce0733262c8e2c55fd6675c91c9f1a814b3712b66c0115135fe287dd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 128ecedf1cf163fc144d93ea624ffd9cb3638fd350c250b86f5517d5e67bbc6c
[INFO] running `Command { std: "docker" "start" "-a" "128ecedf1cf163fc144d93ea624ffd9cb3638fd350c250b86f5517d5e67bbc6c", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling libloading v0.6.2
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking net2 v0.2.34
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]     Checking lazycell v1.2.1
[INFO] [stderr]     Checking wayland-sys v0.23.6
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]     Checking wayland-commons v0.23.6
[INFO] [stderr]     Checking calloop v0.4.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling proc-macro-hack v0.5.16
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking crossbeam-queue v0.2.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking smallvec v1.4.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]    Compiling paste-impl v0.1.16
[INFO] [stderr]    Compiling cc v1.0.54
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking paste v0.1.16
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking matrixmultiply v0.2.3
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking generic-array v0.13.2
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]     Checking simba v0.1.2
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]    Compiling anyhow v1.0.31
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking instant v0.1.4
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking png v0.16.4
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]     Checking nalgebra v0.21.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking tobj v2.0.2
[INFO] [stderr]     Checking image v0.23.4
[INFO] [stderr]     Checking smithay-client-toolkit v0.6.6
[INFO] [stderr]     Checking winit v0.22.2
[INFO] [stderr]     Checking nalgebra-glm v0.7.0
[INFO] [stderr]     Checking glutin v0.24.1
[INFO] [stderr]     Checking learn-opengl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value captured by `delta_time` is never read
[INFO] [stdout]    --> src/main.rs:211:17
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 delta_time = (now - prev_frame_time).as_secs_f32();
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/main.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |                 time += delta_time;
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `delta_time` is never read
[INFO] [stdout]    --> src/main.rs:211:17
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 delta_time = (now - prev_frame_time).as_secs_f32();
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/main.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |                 time += delta_time;
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |             offset_of!(Vertex, position) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: `#[deny(unaligned_references)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `raw_field` which comes from the expansion of the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |             offset_of!(Vertex, normal) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this error originates in the macro `raw_field` which comes from the expansion of the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |             offset_of!(Vertex, position) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: `#[deny(unaligned_references)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `raw_field` which comes from the expansion of the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             offset_of!(Vertex, texture_coordinate) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this error originates in the macro `raw_field` which comes from the expansion of the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |             offset_of!(Vertex, normal) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this error originates in the macro `raw_field` which comes from the expansion of the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             offset_of!(Vertex, texture_coordinate) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this error originates in the macro `raw_field` which comes from the expansion of the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `fov` is never used
[INFO] [stdout]   --> src/camera.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub fn fov(&self) -> f32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `position` is never used
[INFO] [stdout]   --> src/camera.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn position(&self) -> glm::Vec3 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `front` is never used
[INFO] [stdout]   --> src/camera.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn front(&self) -> glm::Vec3 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vertices` is never read
[INFO] [stdout]    --> src/model.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 100 |     vertices: Vec<Vertex>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Mesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `id` is never used
[INFO] [stdout]   --> src/shader_program.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn id(&self) -> u32 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set_uniform_bool` is never used
[INFO] [stdout]    --> src/shader_program.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub unsafe fn set_uniform_bool(&self, name: &str, value: bool) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set_uniform_float` is never used
[INFO] [stdout]    --> src/shader_program.rs:112:19
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub unsafe fn set_uniform_float(&self, name: &str, value: f32) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set_uniform_vec3f` is never used
[INFO] [stdout]    --> src/shader_program.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 117 |     pub unsafe fn set_uniform_vec3f(&self, name: &str, value: glm::Vec3) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set_wrap` is never used
[INFO] [stdout]   --> src/texture.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub unsafe fn set_wrap(&self, wrap_s: gl::types::GLenum, wrap_t: gl::types::GLenum) {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/shader_program.rs:128:69
[INFO] [stdout]     |
[INFO] [stdout] 128 |         gl::GetUniformLocation(self.id, CString::new(name).unwrap().as_ptr())
[INFO] [stdout]     |                                         --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `fov` is never used
[INFO] [stdout]   --> src/camera.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub fn fov(&self) -> f32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `position` is never used
[INFO] [stdout]   --> src/camera.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn position(&self) -> glm::Vec3 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `front` is never used
[INFO] [stdout]   --> src/camera.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn front(&self) -> glm::Vec3 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vertices` is never read
[INFO] [stdout]    --> src/model.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 99  | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 100 |     vertices: Vec<Vertex>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Mesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `id` is never used
[INFO] [stdout]   --> src/shader_program.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn id(&self) -> u32 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set_uniform_bool` is never used
[INFO] [stdout]    --> src/shader_program.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub unsafe fn set_uniform_bool(&self, name: &str, value: bool) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set_uniform_float` is never used
[INFO] [stdout]    --> src/shader_program.rs:112:19
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub unsafe fn set_uniform_float(&self, name: &str, value: f32) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set_uniform_vec3f` is never used
[INFO] [stdout]    --> src/shader_program.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 117 |     pub unsafe fn set_uniform_vec3f(&self, name: &str, value: glm::Vec3) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set_wrap` is never used
[INFO] [stdout]   --> src/texture.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub unsafe fn set_wrap(&self, wrap_s: gl::types::GLenum, wrap_t: gl::types::GLenum) {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/shader_program.rs:128:69
[INFO] [stdout]     |
[INFO] [stdout] 128 |         gl::GetUniformLocation(self.id, CString::new(name).unwrap().as_ptr())
[INFO] [stdout]     |                                         --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn-opengl` due to 7 previous errors; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 3 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn-opengl` due to 7 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "128ecedf1cf163fc144d93ea624ffd9cb3638fd350c250b86f5517d5e67bbc6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "128ecedf1cf163fc144d93ea624ffd9cb3638fd350c250b86f5517d5e67bbc6c", kill_on_drop: false }`
[INFO] [stdout] 128ecedf1cf163fc144d93ea624ffd9cb3638fd350c250b86f5517d5e67bbc6c
